You can actually just copy your entire Steam folder and put it back. The only thing to watch for is that you put it back in the same drive letter as you saved it from.
I have steam installed on a separate hard drive, so when I re-installed Windows, all I had to do was change that drive's mount letter and it worked just fine.