The documentation is probably the best step by step example you will find for setting this up in CI.
http://ellislab.com/codeigniter/user-guide/helpers/captcha_helper.html
It's fairly straight forward, just make sure you have permissions set correctly on the dir where it will be storing the image file.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.