The key isn't registered to a specific HDD or SSD.
When you go to install, and assuming you've back up your HDD, just format the HDD, format the SSD, and create a new partition for the HDD, create a new partition for the SSD, format the HDD and then select the SSD to install Windows on...