Some midwives are working as receptionists but the government says it has invested in maternity jobs.