You can get them from the battle maison for BP, which you can earn by battling.
To evolve Electabuzz, you must give Electabuzz the Electirizer then trade it. To evolve Magmar, you must give Magmar the Magmarizer then trade it.
If you don't have anybody to trade with, try putting a Magmar w/ Magmarizer or Electabuzz w/ Electirizer into the GTS and ask for their evolved form.
Hope I helped!