Margaret Josephs reveals the medication she took to lose 22 pounds