PA resident working for a Kentucky company

Hi,

 

I would appreciate some advice on how to fill W4 for both and whether to file return jointly or separately with spouse. If filed jointly how is out of state income credited in home state?

 

Me: income:155k, living in PA, working in KY

Wife: income:59K, living and working in PA

 

Best regards