The main ground is behind the starter cover. Remove the ground connection and clean the cable and mounting point with scotchbrite or similar and re-connect. As to other grounds you will need to track them down using the schematic for the bike. It may be a good idea to clean all connectors with contact cleaner.