This is probably where you want to start:
You must be registered to see the links
I've never gone through the process of exporting anything for use in SFM, as I prefer Blender's own built-in animation tools far more. So I can't really help much. This tutorial looks useful though:
You must be registered to see the links