Well if you wanted todo this I'd suggest unsoldering the cable and attaching another in the same way the current one is.
If you want to connect the wires then DO NOT connect red to green that'll fry your keypad!
It would be
[+5 Vdc] -> [+5 Vdc]
[Data+] -> [Data+]
[Data-] -> [Data-]
[Ground] -> [Ground]*
[Shielding braid] -> [Shielding braid]*
*note the dark blue from above will be black wires (shileding will be silver/copper/the wire wrapped around the outside if the other wires)
I had to do this when the BG color is black
