You'll want to download and run the Forge installer for the version you're attempting to play. Then you'll want to download the version of Optifine for the version you're playing and the mini-map mod.
Set up a new profile in the launcher (preferably using a separate directory) and tell it to use the Forge version you installed. Let the game run until the title screen, then close it.
Finally, add Optifine and the mini-map mod to the mods folder in your directory for the new profile. Next time you use that profile, it should have the two mods installed.