Modify custom search box added in page.tpl.php
I have finally resolved this one using a jquery which I have applied 
to the element using JS Injector Module.

jQuery(document).ready(function($) { 
  $('#edit-keys').attr('size', '20'); 
  $('#edit-keys--2').attr('size', '20'); 
});