Network Rail and Transport for Wales are urging all customers to check before they travel