Piggybacking off this--in response to the second question. Decaffeination does not remove all of the caffeine--in most of the processes, around 1-2% of the original caffeine remaining in them, while some decaf beverages may have as much as 20% of normal caffeine content.
There are several methods for decaffeination.
Looks like they involve heat and organic solvents to selectively dissolve and remove the caffeine.
Piggybacking off this--in response to the second question. Decaffeination does not remove all of the caffeine--in most of the processes, around 1-2% of the original caffeine remaining in them, while some decaf beverages may have as much as 20% of normal caffeine content.