Step 1. Just open the following URL
Step 2. Click on "Create a custom search engine" button.
Step 3. Fill the required fields.
Step 4. Choose a style (look & feel)
Step 5. Congratulation !! You are ready with your cse code. Now you can copy and paste this code into your html page and enjoy searching with in your site or blog.