Getting the gas into your car is the last step in a long process. That process begins with the drilling for oil. Oil exploration and production is very complicated. The video below explains a process used to recover natural gas from coal seams and not oil production. However it shows some of the technology used in drilling. For example, at about 4 minutes in it shows how a horizontal extension to a vertical hole can be made. The trick is to put a ramp or wedge down the hole that deflects the drill into the desired direction.