|Well, like I said, you've got two loose wires and two places to solder them. That leaves you two options. Either green goes to clock and white goes to data OR green goes to data and white goes to clock. If one way doesn't work the other must--if it's only loose wires that are the problem.|
If for some reason you just don't want to swap the wires you can get an ohmmeter or continuity tester, put one lead on the wire in question and the other lead on a pin in the keyboard connector. Test each pin. When it indicates continuity then you know that pin is connected to whatever wire is attached to the other lead. Then go here:
for a diagram of the keyboard pinout. That shows you the function of each pin. Since you now know what wire is connected to the pin (because of the continuity testing) and you know the function of that wire (because of the pinout diagram) then you know where to attach it--either clock or data.
It doesn't get more 'workable' than that.