It SHOULD be relatively straight-forward as it's the same system as a car. Crack the bleed nipple on the caliper open, squeeze the brake lever in a smooth action all the way down, close the nipple and then release the lever. Repeat while watching the flow of fluid from the nipple till you don't see any more bubbles, and ensure the reservoir doesn't empty during the process. Tidy people put a clear tube on the nipple with the end in the jar to collect the old fluid for disposal, untidy ones let it squirt where it will (including on your paint work where it'll remove the paint REALLY quickly).

Note that at the beginning I said it SHOULD be simple, however it's often not, for two reasons. Firstly, unlike a car's brakes the outlet (the nipple) is almost directly below the source (the reservoir), so you're trying to force air bubbles to travel downwards through a liquid medium and the air keeps wanting to rise. Secondly the brake line goes through several sharp angles (we like to call them banjo connectors) and the bubbles tend to get trapped on these corners. You can get suction devices that attach to the nipple and suck the fluid through faster than the master cylinder can pump it, but it's a lot cheaper just to unbolt the caliper from the forks and hold it as level as possible with the reservoir (or even above it). This can be a little awkward if you have a speedmaster with twin calipers, but can still be done. (With the dual brakes, the nipple's on the right hand caliper, with the left hand caliper allowing the fluid to pass through it.)