If I remember correctly, they are both ground wires, one coming from the voltage regulator, and another coming from the EGR valve sensor. Trace them out. Even though this is the new alternator you should be able to see the two black wires attached to the frame.