Two masked and hooded men walked up to a crowd near a laundromat and barbershop in the New York City borough of Queens and opened fire, wounding 10 people, including three known gang members, before escaping on mopeds, police said Sunday morning.