San Francisco has one of the best public transportation systems in the modern universe.
To get from OAK airport you can use BART. There is a shuttle from Oakland Airport that costs $3.00 that runs every ten minutes. It drops you at the BART station where you can buy a ticket with enough fair to get you to Powell Street/Union Station. The fare one way should be about $3.80. When you arrive, place your ticket in the machine with magnetic bar facing up and the arrows facing the ticket receptacle. It's easy I promise!
If you are coming from SFO. It is pretty easy. Look for signs in the airport sending you to BART, buy a ticket to with enough fair to get you to powell street I think $8.10. Again you want to make your way out to the Powell Street/Halladie Plaza exit and when you get to the top of the escalator you want to make a U-turn. You will know you are going to right way if there is a Bank of America ATM on the right hand side. Once you get to the cross-walk get your arm up and start looking for taxis.
If you are keeping this simple, pay the extra money for the navigation when you renting a car from the airport.