Lothian and Borders Fire and Rescue were called to the Linn Mill area at around 6.30pm and harnessed the pair to safety. It is understood they had gone to look at some Christmas lights.
Separately, a 37-strong search crew was involved in the search for a man lost in Glentress Forest near Peebles in the Borders on Hogmanay.
The walker in his early 50s was in contact with police on his mobile phone but could not direct them to his position in the wooded area covering 29 sq km, Tweed Valley Mountain Rescue Team said. He was eventually located at around 8.30pm.
"He was checked over by the Scottish Ambulance Service who allowed him to return to the local hotel where he was staying," the Tweed Valley team said.
Fifteen of its crew were involved in the search as well as eight Borders Search and Rescue Team personnel, 13 people from Moffat Mountain Rescue Team and one person from the Cockermouth team who was staying with a Tweed Valley member over the new year, the team said.