Modeling Lightning in Giant Planetary Atmospheres