In Captivate, make sure you are connected to the internet, go to Help > Deactivate and deregister your license on the current computer.
Then install Captivate 5 on the other computer, and when it asks for your license key, use the one you just deregistered from the other computer.