Both phrases are grammatically incorrect. Instead, use John and me if the speaker is the object of the sentence, and use John and I if the speaker is the subject of the sentence.