India have the advantage in the third Test against New Zealand, with their spinners reducing the tourists to 9-171 at stumps in their second innings.