Both are correct,depends on their roles in a sentence.Originally Posted by Stefy70
eg: You and I will be best friends forever.("You and I" here is the subject of this sentence)
while: I wish good luck for you and me ("you and me" here is object)
hope it helps.