The New Zealand government has proposed a bill that outlines a plan for the country to achieve a net zero level of carbon dioxide (CO2) emissions by 2050.