OpAmp Comparator Circuit Design for High/Low voltage measurement
Take a look at the following document:

http://www.ti.com/lit/ug/tidu020a/tidu020a.pdf

Also, I am not quite sure, why you need two opamps to do the job. Why not just use one comparator?