Virat Kohli’s unbeaten hundred was a key factor in India’s dominant six-wicket victory over their arch-rivals Pakistan.