They most likely are fungus gnats. Garden centers sell yellow sticky paper you can use to catch them.