The two people were taken to a hospital for treatment after being attacked by the dog about 11 a.m. in the 600 block of Maude Ave. in the city’s Brooklyn neighborhood, according to detective Nicole Monroe, a police spokeswoman.