India beat Sri Lanka by five wickets to seal the three-match T20I series with a 2-0 lead in Dambulla.