Button with two different switches for On and Off. How to configure

I’ve a zwave switch with two binary outputs, one output is used to switch on the lights and the other one is to switch off the lights. How can I link a button push on to the on switch and the button off push to the off switch? And I want to add the button into a Group Light so that all lights in the room can be switched on and off in one go.