The second example is not strictly speaking wrong (it is widespread to use “you and me” this way), it’s just colloquial and should be avoided in formal speech and formal writing.. If “you and I” is an object (i.e. the action is being done to it), the correct form is “you and me”:
grammar - "Name and I" or "name and me" when they are There have been many questions on this exchange about when to use phrases such as "John and I" vs. "John and me". The answer seems to be you that you use "John and I" when they are the subject of the verb and "John and me" when they are the object of the verb. However, sometimes it isn't so clear. For example, consider the following sentence I vs Me - Lawless English If they were the object, you’d use me: "He told John and me to get ready." If you are not good with grammar concepts like subject and objects, there is still a very easy way to decide whether to use I or me : try out the sentence with just I or me (or if you need a plural, we or us – "we" is equivalent to "I" and "us" is equivalent to "me."):
Tom chased John and me. On the other hand, in passive voice sentences, things change and the doers of the action are preceded by the preposition “by” which requires the objective case pronoun “me”. Tom was chased by John and me. The receivers of the action are the compound subject of the sentence.
Pronouns: personal ( I, me, you, him, it, they, etc Pronouns: personal ( I, me, you, him, it, they, etc.) - English Grammar Today - a reference to written and spoken English grammar and usage - Cambridge Dictionary Which Pronoun is Correct: I or Me? - VOA Aug 25, 2016
Grammer question: When to use "me" instead of "I"? | Yahoo
Is it proper grammar to use a persons name before me or I Yes, the others names always come before I (the subject) or me (the object).Proper: James and I are going to the movie.Improper: I and James are going to the movie.Proper: Mom made some cookies I or Me Worksheets