Emulate a USB hub with arduino
If you realy want to emulate a hub with two devices I don't thin an AVR is up to that task. Maybe take an off-the-shelve USB hub chip.

But I think you can emulate a composite device (mouse and keyboard in one device).