Welcome to Windows Seven Forums.
If they were OEM product keys, they are tied to the computer they were used on. As such, they cannot be transferred to another computer.
If you are in possession of a retail product key, it can be transferred providing Windows has been removed from the original computer. A retail product key can be used for either the 32-bit version of Windows or the 64-bit version, but not both at the same time.