Do bicycles have ground wires and if so where are they I am trying to put a horn on mines and it’s kinda hard....it’s a bicycle any help would be very appreciated thanks.
Just run two wires, a positive and a negative lead. Both leads in the same casing will make for a more robust wire, less susceptible to vibration damage.
If you expect to run one of the leads in the metal of your frame, first make sure there is conductivity between the points you expect to run the wire. Carbon fibre is not conductive. Steel is great for this, and aluminium conducts but tends to have galvanic reactions at points it touches other metals.
Use a multimeter in Beep mode and then measure the resistance in Ohms between the two points. Then compare that reading with the resistance of a length of wire that you'll be using for the positive run - I bet the frame will have a lower resistance, but when you cross things like the fork bearings it could add a lot, or it could be fine. Only measurement will tell. Do note that Paint is generally non-conductive so you'll need to scratch through that to get a measurement.
To attach wires to a frame, the common method was a hose clamp with the bare wire under it. This is ugly, catches and holds muck and water, and means you've got a bare area of steel underneath.
You can also crimp a small ring or fork connector onto the end of your wire, and then trap it under a convenient bolt like a carrier/mudguard stay, or under the light or horn fitting itself.
The last resort is to drill a small hole into the frame, and then tap it for a bolt and trap your cable that way. Good side of this is you can do this in a convenient place. Downside, drilling holes into a frame.
Personally I use an airhorn that is powered by a small canister that sits in a water bottle cage. Works perfectly and is audible from inside most modern vehicles including trucks.
Bicycles don't have any wiring installed, which is why it's so important to add it yourself! Doing this opens up a whole new world of 12V motorcycle accessories which will give your bike that custom look.
The frame is covered in paint which is non-conductive, so don't bother using that as a ground (I checked). Instead just run two thin wires for the 12v lights in the front and two more for a horn switch. The best way to do this is using black zip ties or velcro straps. Don't use electrical tape, it turns into a sticky disaster. If your bike has internal cabling like mine does, there may be an additional hole available to run the cables, however doing so is difficult without special tools.
I wanted all of the wires self contained in a nice black sheath, so I'm using 24 AWG stranded twisted pair cable (commonly used for ethernet patch cables) to carry the current and then using a 15V Lithium battery to supply the voltage. For my low wattage lights, it works fine, but be careful how much power you drive over the wires without upsizing. Calculator here. The horn requires about 4 amps or so for mine, but it's a momentary load meaning the wiring works well enough for brief usage. At 4 amps, the 24 AWG wire acts like the perfectly sized resistor stepping down the 15V to 13V for the horn. It's important to test the amperage (current) yourself, as the listed amperage on the retailer sites seems to be a maximum demand, not the continuous draw. You will need to calculate the amps, voltage draw and wiring necessary for your custom job of course.
Don't try to use your bike's frame as ground. That has been done for years on bikes some 20-30 years ago, and it was a PITA. I remember modifying a dynamo attachment to be able to connect a "ground" wire to the dynamo, simply because the ground connection through the frame is botchy at best. (The electrical current needs to flow through two clamps and the steering bearings, all of which yield variable conductivity. The clamps may be irritated by vibrations, the bearings are hopefully well-lubricated, and grease is not the best electrical conductor. The connections of a real cable are usually much more stable.)
Modern bike electric parts all use two-lead cables, and are usually insulated against the frame. As the power from the dynamo is alternating current, and as dynamo and lights are insulated from the frame, the two leads are really equal. It doesn't really matter which port of the dynamo you connect to which port of the lights. As long as you do not somehow connect both ports of the dynamo to each other, creating a short circuit, or connect both ports of a light/appliance to the same port of the dynamo, you should be fine.