German brewers are barred from using hydrochloric (or any other mineral) acid and so use lactic acid either in the form of sauergut (wort which has been fermented by lactobacillus) or sauermalz (malt which has been innoculated with L. Delbruckii or sprayed with sauergut). The latter is a good way to go for homebrewers because one can count on pretty close to an 0.1 pH drop for each percent of sauermalz in the grain bill, because most home brew suppliers carry it, because it is easy to weigh out and finally because it lends subtle flavors to the beer which are a definite plus (IMO). The alternative for homebrewers is lactic acid sold by home brew suppliers. You can figure out how much to use based on the 0.1 per % rule of thumb, the fact that sauermalz contains, on average, 2% lactic acid by weight and that most HBS lactic acid is 88% by weight and weighs about 1.21 gram/cc. You'll have to find a means of accurately measuring out a few cc (syringes are good for this) and, of course, you don't get the benefits of the flavor qualities of the sauermalz. Ultimately, the amount of lactic acid, sauermalz or sauergut to add is the amount which sets your mash pH correctly. You must calculate the amount you think you will need, add a portion, check pH, add more etc. until it gets where you want it to go. One of the nice things about the sauermalz is that the rule of thumb is pretty good. If you use 2% you'll probably get about an 0.2 pH drop. But you should check this. If the result is less than 0.2 pH use more next time. If more, use less etc. Keep in mind that mash pH tends to climb as the lactic acid washed off the surface of the malts move into solution and then reacts with the buffers in the mash so check pH over the course of half an hour or more to see where it finally settles.
Hydrochloric acid can be obtained from many sources, not the least of which is the hardware store. It is not, of course, food grade. ACS stuff from a chemical supply house is as pure (or purer) than FCC grade but has not been processed in FDA food handling facility. This is another reason to use sauermalz or lactic acid from the LHBS.