To develope for WP7 you need following
1. Visual studio 2010 (Express edition is free)
2. WP7 emulator
3. .Net Framework 4
Here[
^] are the links to download them.
Since WP7 and WM6 are different in architecture the code might not be entirely reusable, but you can develope them separately in a single machine.