US President Barack Obama has admitted he "screwed up" after the withdrawal of two key government nominees over unpaid taxes.