It looks like either a baby copperhead or a water snake. Both are venomous.
Well that's just wonderful because there were two of them and we're handling them with our bare hands. Time to break out the gloves? :(
I would honestly just throw it into the nearest body of water and get rid of it. I once had a nest of these in my garden and that's what i did, except I was using hockey gloves to handle them.
Was it JD's trouser snake?