Gatherings of more than 500 people should be cancelled to help stop the spread of coronavirus, Prime Minister Jacinda Ardern says.