England beat India by 26 runs in Rajkot in the third T20 international to keep the five-match cricket series alive.