how do you spawn cubes?

I am making a game like bejeweled and I want the cubes to fall down into place.

Unity Learning Modules will tell you how to spawn cubes and more. Go through the beginner scripting section. If after going through all the videos and examples, you still have questions. Ask again with the code you have produced.