India's consumer prices rose 5.4% in April from a year earlier, the statistics ministry said on Thursday, a sharper increase than economists had expected, driven up by higher food prices.