If you see a cyclist in your lane ahead and wish to pass, you should:

Bicycles on a roadway are considered to be vehicles and should be treated as such. A loud blast of your horn could startle a cyclist and cause an accident, so your horn should be used lightly only to get a cyclist's attention. Before passing a cyclist in a narrow traffic lane, wait until the traffic is clear in the opposite lane and then change lanes to pass the cyclist; do not attempt to squeeze past them.
DMV Writen Test