You need a patch cable that runs from the earphone jack or the output jacks of the VHS player to the souond in plug of your tape recorder.
For a CD you need a patch plug that will go to "Sound In". Alternatively you can use a device such as the iMic which accepts standard sound in and inputs them into the USB port of your computer.
Then, you need sound-editing software to capture the sound as it is played, one track at a time or all in one big track. This requires a good chunk of disk space to write the file to.. Then you can burn that file or set of files to a CD.