San Jose is only 40 miles from San Francisco, and there are several options to travel from one to the other. Here are a few. I don't know which is best.
The CalTrain runs between San Francisco and San Jose. You can find their schedule here: CalTrain
Greyhound busses have 8 trips every day between SF and SJ. You can find their schedule here: Greyhound