Hi Alex, welcome to 126 land,
apart from the engine, most of the components are exactly the same design, most are interchangeable,
the master cylinder is a doddle to change, have a look under the front of the car and you will be able to see it sticking out of the bulkhead, if you pull the carpet back from under the pedals you will be able to see the mounting bolts, I seem to remember having to unbolt the brake pedal assembly from inside the car first when I did the 500, not 100$ sure why off the top of my head, think you have to pull the whole assembly out then unbolt the M/cyl from the bracket.
so in order,
free off all 4 bleed nipples on the brake cylinders, if any snap you'll need to replace that cylinder.
drain out the brake fluid by opening a bleed screw, put a bit of rubber tube on it into a jar and pump the pedal.
loosen the 2 brake unions on the master cylinder, if they round or twist the pipe you will probably want to replace that section of pipe.
remove the pipes from the M/cyl
unbolt the brake pedal/master cylinder assembly
before refitting/bleeding, check the condition of all brake pipes, now would be the easiest time to replace any that are corroded or suspect.
bleed the 2 rears first, then the fronts, then repeat.
I presume you have already sourced a replacement cylinder?
good luck, Richie