The Matildas beat New Zealand 2-0 in Adelaide as Sam Kerr captained the side in her first game on home soil in two years.