Check the clip with the main wires. The big red ones, yeah? Anyway, I lost my 12 volt completely while riding and it was that clip. The terminals were shorting out due to being dirty and loose (what some people look for in a woman, but not an electrical connection.)
And also, as TT said, look at the key switch.