The government is carrying out a once-in-a-generation review of parental leave and pay to modernise the system.