West Indies beat New Zealand by two wickets