India beat Sri Lanka by two runs