Many dogs are lactose intolerant — expect gas and diarrhea. A few laps will not poison them, but skip the bowl.
The saucer-of-milk image is wrong: most adult cats are lactose intolerant. Water is what they need.
Adult mammals commonly lose lactase; dairy then ferments in the gut.