The sentence with correct pronoun and antecedent agreement is:
"While the neighbors were walking to the store, they dropped their money and the wind blew it away."
In this sentence, "they" appropriately refers to "the neighbors," and "their" correctly corresponds to "neighbors" as a plural antecedent.