New Zealand has set India a target of 334 runs.