If you are near Pier 39, this restaurant is a great option.
They have all the San Francisco typical dishes with a fix menu (2 dishes + desert) for 20$.
The best: the restaurant has huge windows with great views. You'll be able to have lunch or dinner with the Golden Gate in the back ground :)
Phone number: 415.362.7733