Nice intro into how it works.
http://dangerousprototypes.com/2013/03/02/microchip-capacitive-proximity-design-guide/