The Taliban have announced the formation of a caretaker government in Afghanistan, three weeks after their takeover and a power vacuum in the war-ravaged country.