Yesterday morning my alarm worked fine....my car is de-locked and only locks with the alarm

not my choice it was already like that....
But like i say yesterday morning it was fine, i've had no problems with it before, then last night i drove to my fellas and it wont lock....the alarm won't work AT ALL....
Now all I did was wash it in between it working and not working, now I have got a water leak, coming in under the fusebox (the seal has gone) but would there be anything for the alram near the fusebox??
Anyone got any ideas?? coz im fooked if I know whats up with it