This is a scene I created from blendercookie tutorial. Fortunately, It gave some awesome results. It may help you learn the settings, the file is ready to give you nice result.
Make sure you have proper blender build with ocean modifier and Cycles render engine. And you are ready to go.