Is he your boyfriend? If he is it shouldn't be too hard to ask him, since he is your boyfriend.
If he isn't, then you can still ask him ;) Just say, "Hey, (name of person). The homecoming is going to be so fun...but I don't have anyone to go with. Will you go with me? If you don't want to...