
blahpers |

No specific penalties (i.e., the same penalties you get for use ranged weapons while in melee). TWF penalties only apply if attacking more times than the character's normal iteratives.
There's a Sword and Pistol feat that mitigates some of the melee gunning problems. The Snap Shot chain is also useful.