If you start with a product development(that means just fixing bugs in almost all the cases) company or some of the startup(such jobs are quite few) then the monthly salary can be sth from INR 40K to 60-70K(I'm giving an average range, it can be higher too) so that comes down to ~ $25 to $42 per day or ~ $3 to $5 per hour.
What you mention, $10/hr, is earned by either very very experienced ones at a services company(managerial level - never bloody ever someone who writes code or even reads code) or good lead/senior level engineers at other companies in their last phase of coding life cycle. It is translated as ~ INR 150,000 per month which is quite some amount here, still.