Child custody

Sir, Myself from Karnataka & my wife from Andhra Pradesh. My wife got cancer in November 2016 and I spent 40 lakhs which I got all documentary proofs. July 2018 I filed a divorce case against her as she started threatening me and my parents stating that she will file dowry case if I am not separated from my parents. Mediators were also unable to solve this issue and with no option, I filed a divorce case. Aug 20th, 2018 she filed 498A after taking divorce notice. Aug 30th, 2018 she died. I do not have fear on 498A case and already supported police which they filed charge sheet on my favor. Now the issue is with my 2 years daughter. After my death, In presence of police, I requested my in-laws to give my babe to me which they denied and asked to deposit 50,00,000 on babe name with their names as guardians which police told that guardian will be father only but I do not have money and agreed for 10,00,000 which my in-laws asked to give them. Police are not ready to take FIR as already 498A was filed against me. Given compliant to district judge directly and when they havent came. Informed me to file a child custody which I have done the same. The 1st petition was not taken by my inlaws and they are currently not residing at the place where my wife died. Please guide me to get my baby fast. Thanks