You want b) The cows crossed the stream as they followed the lead cow to the barn. Examples c and d consist of two independent clauses. In c they are concatenated without any punctuation, which is wrong.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.