The match came down to the penultimate ball when Hardik Pandya managed to get a boundary and take India over the line.