Two young goats that wandered onto the thin ledge of a 60ft railway bridge in southern Montana had to be rescued by a crane after two days high above a remote highway.