The numbers indicate the supply you should be at when you build the structure.
so a 12 hatch 12 pool 12 gas means you get to 12 workers and then build those 3 buildings in that order as soon as you have the resources for those.
For zerg the workers actually become the building, so I assume you hit 12, build the hatchery, build another worker, build the spawning pool, build another worker, and then build your gas refinery.