The New Zealand Prime Minister Jacinda Ardern has announced she is pregnant and will be taking six weeks maternity leave after the birth before returning to her job.