As per my knowledge by using sosl query you can achieve this as follows : list<list<Sobject>> result = [FIND keyword IN FIELDGROUP Returning Contact(fristname,lastname),Opportunity(name,stageName)].
In the above FIELDGROUP means speicify like name,email or all Ex: list<list<Sobject>> result = [FIND keyword IN ALLFIELDS Returning Contact(fristname,lastname),Opportunity(name,stageName)]
http://amitsalesforce.blogspot.in/2015/04/pagination-using-standardsetcontroller.html
Please let me know if it meets your requirement