India remain in control of the second Test in Hyderabad despite an Australian fightback on day three.