Go to the Settings menu. Approximately three from the left, you'll see a Gift Codes link on the bottom. Click that link. Then press that button. After that, a keyboard will appear, enabling you to put in a gift code.