More than 50,000 nurses and midwives have walked off the job as part of a 24-hour strike as pay disputes mount.