India can never win a two front war with China and Pakistan. Defeating China militarily is an Indian dream like the Indian General dreamed of having tea in the Pakistani capital the next day the 1965 India-Pakistan broke out.
But we know from history that Pakistan had zero Kashmir before the 1948 war broke out and then we captured 28% of Kashmir and in 1965 we captured another 7%, though Indian text books in schools may state that Pakistan lost 2wars. We just do not care about the text books we just look at the map and enjoy the beautiful Azad Kashmir mountains and valleys that fly the Pakistan Flag.
Leave China aside, in a full scale war India will get beat by Pakistan because we have bought and manufactured a lot of ammo since 1971 until now and it may be used some day.