Here is an introduction to memcached and PHP:
enhance_php_session_management
As far as using memcached from CI, I imagine you would want to either add the caching code directly into your models, or from your Controllers you would want to check the cache before querying data from a model.