Most cough medicines are fine to take while breastfeeding, although it is advised not to take decongestants. Decongestants dry up bodily secretions and theoretically could also reduce your milk supply. I suggest that if you want to know about a particular product that you ask the pharmacist for a recommendation.