According to a Facebook post from the Pennsylvania Turnpike, the goats were first discovered by Pennsylvania State Police, who worked with employees from the Pennsylvania Turnpike and the Department of Transportation to rescue the wayward creatures. It was, put simply, a very dramatic rescue which needed the help of a crane.
NPR reports that the goats walked 200 feet across the beam until their journey was impeded by an obstacle, forcing them to turn around and head back in the previous direction. The beam was about 8 inches and 100 feet form the ground. This was very much a high stakes goat rescue operation, but luckily the professionals involved did their duty and saved the curious goats from a disastrous fate, returning them to their farm after getting them off the bridge.