India sneak home in high-scoring thriller