The royal couple made Welsh cakes during a trip to a flood-hit community in Wales.