Master cylinder rebuild

You should find the leak first.Is more likely to be a wheel cylinder. Remove all four wheels and inspect. Pull away rubber dust boots to find leaks. Inspect all rubber hoses. You may need more than a M/C rebuild.