India's central bank raised interest rates for the first time in nearly three years as inflation risks mount, while new measures to defend the rupee sent the currency sharply higher against the dollar.