The embattled wicketkeeper batsman scored an unbeaten 64 while Kuldeep Yadav added spin to the tale as India beat Sri Lanka