New Zealand beat India by 40 runs in 2nd T20I