Quoting myself from another thread:
Pretty sure those are fungus gnats. Definetly indication of too wet of soil. Now I fight em a bit, but in coco I keep it moist all the time, coco doens't require the dry cycle that other mediums do, so it does temp them in. But go get some mosquito dunks from a big box store, they are to put in yard ponds and such. You only need a chunk of one, as they are designed for big areas of water, put it in your watering container, then fill with water and let it sit with that dunk in it till you water, days if possible. keep the chunk and repeat, fill em up with water as soon as you use the water so that dunk can soak in that water till next feeding. Its a bacteria of sorts in the dunk, so it won't harm your plant but will eat those things in larvae form. Yellow sticky traps will whack the most of the adults, but you gotta do something about those larvae or you'll have a never ending supply of adults unless you dry that soil out so bad you endanger the plant...
I've also been told you can scoop out top inch of soil or so to get many of the larvae, then cover the top layer with sand, dicotomous earth, rice hulls, etc. But I'm happy with the dunks... may try sand on top from the get go next round tho...